Module-level declarations

Types

Link copied to clipboard

Functions

Link copied to clipboard
function buy_items_for(requested_items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)

Queries

Link copied to clipboard
@mount("shop.get_all_shop_item_categories") query get_all_shop_item_categories(): list<text>
Link copied to clipboard
@mount("shop.get_all_shop_items") query get_all_shop_items(): list<(name: text, category: shop_item_category, price: integer, price_token: text)>
Link copied to clipboard
@mount("shop.get_shop_configs") query get_shop_configs(): (enabled: boolean,)

Operations

Link copied to clipboard
@mount("shop.buy_items") operation buy_items(items: map<text, integer>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("shop.set_global_shop_parameters") operation set_global_shop_parameters(enabled: boolean)
Link copied to clipboard
@mount("shop.update_shop_item_price") operation update_shop_item_price(item_name: text, new_price: integer)